package com.uflower.search.feign;

import com.uflower.common.to.CategoryEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(name = "uflower-product",url = "http://localhost:10001")
public interface ProductFeignService {
    @RequestMapping("product/category/categorys")
    public List<CategoryEntity> getLevel1catalog();

}
